<?php 
$mainbar = 'main';
$home = true;
?>
@extends('ios.pageIndex')
@section("page-content-wrap")
<div class="content-padded-home {{count($banners)== 0 ? 'fullscreen' : '' }}">
<div class="swiper-container swiper-init"  data-space-between='10' data-effect='fade' 
	data-autoplay="3000" data-speed="800">
    <div class="swiper-wrapper">
      @foreach($banners as $banner)
      	<div class="swiper-slide">
      	  @if(empty($banner->url))
      	 	<img src="{{Images::url($banner->image)}}" alt="">
	      @else
	      	<a href="{{$banner->url}}"><img src="{{Images::url($banner->image)}}"/></a>
	      @endif
	    </div>
	  @endforeach
    </div>
</div>
</div>
@stop